<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml"><head><link rel="stylesheet" type="text/css" href="style.css" /><script type="text/javascript" src="highlight.js"></script></head><body><pre><span class="hs-pragma">{-# LANGUAGE DeriveGeneric #-}</span><span>
</span><span id="line-2"></span><span class="hs-keyword">module</span><span> </span><span class="hs-identifier">GHC.ForeignSrcLang.Type</span><span>
</span><span id="line-3"></span><span>  </span><span class="hs-special">(</span><span> </span><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#ForeignSrcLang"><span class="hs-identifier">ForeignSrcLang</span></a></span><span class="hs-special">(</span><span class="hs-glyph">..</span><span class="hs-special">)</span><span>
</span><span id="line-4"></span><span>  </span><span class="hs-special">)</span><span> </span><span class="hs-keyword">where</span><span>
</span><span id="line-5"></span><span>
</span><span id="line-6"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/Prelude.html#"><span class="hs-identifier">Prelude</span></a></span><span> </span><span class="hs-comment">-- See note [Why do we import Prelude here?]</span><span>
</span><span id="line-7"></span><span class="hs-keyword">import</span><span> </span><span class="annot"><a href="../../base/src/GHC.Generics.html#"><span class="hs-identifier">GHC.Generics</span></a></span><span> </span><span class="hs-special">(</span><span class="annot"><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier">Generic</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-8"></span><span>
</span><span id="line-9"></span><span class="hs-comment">-- | Foreign formats supported by GHC via TH</span><span>
</span><span id="line-10"></span><span id="local-6989586621679045954"><span id="local-6989586621679045955"></span></span><span class="hs-keyword">data</span><span> </span><span id="ForeignSrcLang"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#ForeignSrcLang"><span class="hs-identifier hs-var">ForeignSrcLang</span></a></span></span><span>
</span><span id="line-11"></span><span>  </span><span class="hs-glyph">=</span><span> </span><span id="LangC"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#LangC"><span class="hs-identifier hs-var">LangC</span></a></span></span><span>      </span><span class="hs-comment">-- ^ C</span><span>
</span><span id="line-12"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="LangCxx"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#LangCxx"><span class="hs-identifier hs-var">LangCxx</span></a></span></span><span>    </span><span class="hs-comment">-- ^ C++</span><span>
</span><span id="line-13"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="LangObjc"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#LangObjc"><span class="hs-identifier hs-var">LangObjc</span></a></span></span><span>   </span><span class="hs-comment">-- ^ Objective C</span><span>
</span><span id="line-14"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="LangObjcxx"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#LangObjcxx"><span class="hs-identifier hs-var">LangObjcxx</span></a></span></span><span> </span><span class="hs-comment">-- ^ Objective C++</span><span>
</span><span id="line-15"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="LangAsm"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#LangAsm"><span class="hs-identifier hs-var">LangAsm</span></a></span></span><span>    </span><span class="hs-comment">-- ^ Assembly language (.s)</span><span>
</span><span id="line-16"></span><span>  </span><span class="hs-glyph">|</span><span> </span><span id="RawObject"><span class="annot"><a href="GHC.ForeignSrcLang.Type.html#RawObject"><span class="hs-identifier hs-var">RawObject</span></a></span></span><span>  </span><span class="hs-comment">-- ^ Object (.o)</span><span>
</span><span id="line-17"></span><span>  </span><span class="hs-keyword">deriving</span><span> </span><span class="hs-special">(</span><span id="local-6989586621679045944"><span id="local-6989586621679045946"><span class="annot"><span class="annottext">ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool
(ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool)
-&gt; (ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool) -&gt; Eq ForeignSrcLang
forall a. (a -&gt; a -&gt; Bool) -&gt; (a -&gt; a -&gt; Bool) -&gt; Eq a
/= :: ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool
$c/= :: ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool
== :: ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool
$c== :: ForeignSrcLang -&gt; ForeignSrcLang -&gt; Bool
</span><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var">Eq</span></span></span></span><span class="hs-special">,</span><span> </span><span id="local-6989586621679045937"><span id="local-6989586621679045939"><span id="local-6989586621679045941"><span class="annot"><span class="annottext">Int -&gt; ForeignSrcLang -&gt; ShowS
[ForeignSrcLang] -&gt; ShowS
ForeignSrcLang -&gt; String
(Int -&gt; ForeignSrcLang -&gt; ShowS)
-&gt; (ForeignSrcLang -&gt; String)
-&gt; ([ForeignSrcLang] -&gt; ShowS)
-&gt; Show ForeignSrcLang
forall a.
(Int -&gt; a -&gt; ShowS) -&gt; (a -&gt; String) -&gt; ([a] -&gt; ShowS) -&gt; Show a
showList :: [ForeignSrcLang] -&gt; ShowS
$cshowList :: [ForeignSrcLang] -&gt; ShowS
show :: ForeignSrcLang -&gt; String
$cshow :: ForeignSrcLang -&gt; String
showsPrec :: Int -&gt; ForeignSrcLang -&gt; ShowS
$cshowsPrec :: Int -&gt; ForeignSrcLang -&gt; ShowS
</span><a href="../../base/src/GHC.Show.html#Show"><span class="hs-identifier hs-var hs-var hs-var hs-var hs-var hs-var hs-var hs-var">Show</span></a></span></span></span></span><span class="hs-special">,</span><span> </span><span class="annot"><span class="annottext">(forall x. ForeignSrcLang -&gt; Rep ForeignSrcLang x)
-&gt; (forall x. Rep ForeignSrcLang x -&gt; ForeignSrcLang)
-&gt; Generic ForeignSrcLang
forall x. Rep ForeignSrcLang x -&gt; ForeignSrcLang
forall x. ForeignSrcLang -&gt; Rep ForeignSrcLang x
forall a.
(forall x. a -&gt; Rep a x) -&gt; (forall x. Rep a x -&gt; a) -&gt; Generic a
$cto :: forall x. Rep ForeignSrcLang x -&gt; ForeignSrcLang
$cfrom :: forall x. ForeignSrcLang -&gt; Rep ForeignSrcLang x
</span><a href="../../base/src/GHC.Generics.html#Generic"><span class="hs-identifier hs-var hs-var hs-var hs-var">Generic</span></a></span><span class="hs-special">)</span><span>
</span><span id="line-18"></span></pre></body></html>